initial commit while loop