modifications to generate data