changing token to be a string