fixed isInteger check to actually check for an integer this time. :p