added randomize