added the randomizer