isint() function works