fixed shuffling function