modified computation of expected duration