added input tokenizer