Renamed counter to isrCounter
Fixed z+1, finished renaming counter