Adding a randomizer