removed commented out code from earlier RNG