add method to parse ascii char -> int. so stupid