eliminated rng variable