Finished #1
This move fixes #5
In the place it'd been, the thing would go through and add to the $offset, then loop back and reestablish $offset as 0