rng integration