add tokenizer prototype