added is_integer function declaration