added TOKEN_ID and TOKEN_PRIORITY