worked on datagen.