DataGenerator Implementation