Please add a comment here why is control.rng here and what's the consequnces.