worked on the datagen.