Got a loop working, now how to stop it...