While loop needs proper new lines