updated comments for integer() method
corrected typo