added 2nd order estimator