added pseudo-randomization to tokens