RNG module generation code added