error estimation work in progress