Update main.txt

this is a while loop.