class randomizer