adding integer parsing