With break for while loop
not needed