remove requirement for rng.shuffle