IsInteger method added