works when only 1 number is entered