add pos,len to tokens, add keywords, add tests, go faster