add sampling script but fail to infer the correct parameters in a simulation