version checking for rng