Where should the 'pos +=0' go? It's in the second loop, which was intended to pertain to the stop part of the command.