One-line while statements added.