trying to get the simulated data to work