add method for tokenizing text fields