added randomize()