Adding int parser to avoid constant casting