updated randomizer