added randomizer