updated rng.inl