processing tokens