got randomize working