added tokenize method in utils