remove RNGScope from code but mention in text