passes test, but I still want to figure out how to make the cursor end
up where we started off at