move out of the loop