parse int for result