simplified tokenizer