Thats the line I though was problematic.
This is why I added
dummy =0
I even tried dummy = 0000000000000000
to remove any values in dummy, but it is not enough.
I dont quite get your solution.

k