make the randomizer work