works until large number entered