Using new generalized random generator.