implements multitoken setting