added a case for a valid token