Change condition in while cycle. More logical