changed randomizer