complete spec 2, quitting and looping