regroup rng doc