try on while loop