Describe how randomize work