change the estimate logic