Shuffling function works.