add a couple of functions related to tokenizing