Adding condition for tokenizer