Embedded estimator code locally