use correct while numbers