groupping for random data generators