New version. Works with simulated data. No reverse engineering