while loop set up