working on iterative re-estimation