included sstream to check for ints in isInteger