avg estimator implemented, not tested
avg estimator implemented, not tested