still has error estimation problems