Added more functions to RNG