improve generation of data