optomized parser.