verify input parses as int