added rng