Shuffling for certain values of random.