moved the interior of the new, functional while loop into Scanner:cycle()