Creating tokenizing functionality