shuffle needs to be set for random shuffling (not just rng)