Add a while and break to the first statement