trying to make the loop go more than once