reimplementing fast parse.