tokenize: support mode