refixed randomizer.