delete unused tokenize function