code to simulate data