shuffling the links