set and check for used tokens