Start of shuffling code.