in reply to while loops

the $ before while should be deleted