Randomize!

added randomize function