change syntax for data generation; part 1