Established while loop

Established while loop