add rudimentary tokeparser