added simple tokenize method