making input parsing faster