RNG: add some comments and todos