finished while loop section