initialize token to NULL