make rng_ a private member of Generator