made a working randomizer :)