RandomGenerator Class