changed generateData