Add some white space. This is cramped code, and the lack of {} in the while can lead to a mistake.