I'm not sure where `tlen` was defined, but I guess I removed it. It's been replaced by another variable called `token_pos`, which might not be a good name for it. Should change this to `token_len` or something.