while and if statements, but no else