trying to modify dfm to work with new tokenize function