changed rng