added RNG template