Randomizer finally working properly