reimplemented tokenizer in symta