Works with simulated data