totaled $ 12 million , $ 13 million and $ 9 million for 2018 , 2017 and 2016 , respectively . all of the company 2019s contributions are invested in one or more funds at the direction of the employees . note 16 : commitments and contingencies commitments have been made in connection with certain construction programs . the estimated capital expenditures required under legal and binding contractual obligations amounted to $ 419 million as of december 31 , 2018 . the company 2019s regulated subsidiaries maintain agreements with other water purveyors for the purchase of water to supplement their water supply . the following table provides the future annual commitments related to minimum quantities of purchased water having non-cancelable: .
as of december 31 , 2018 , what was the total accrued for probable loss contingencies and reasonably possible loss contingencies in $ million?
the company enters into agreements for the provision of services to water and wastewater facilities for the united states military , municipalities and other customers . see note 3 2014revenue recognition for additional information regarding the company 2019s performance obligations . contingencies the company is routinely involved in legal actions incident to the normal conduct of its business . as of december 31 , 2018 , the company has accrued approximately $ 54 million of probable loss contingencies and has estimated that the maximum amount of losses associated with reasonably possible loss contingencies that can be reasonably estimated is $ 26 million . for certain matters , claims and actions , the company is unable to estimate possible losses . the company believes that damages or settlements , if any , recovered by plaintiffs in such matters , claims or actions , other than as described in this note 16 2014commitments and contingencies , will not have a material adverse effect on the company . west virginia elk river freedom industries chemical spill on june 8 , 2018 , the u.s . district court for the southern district of west virginia granted final approval of a settlement class and global class action settlement ( the 201csettlement 201d ) for all claims and potential claims by all putative class members ( collectively , the 201cplaintiffs 201d ) arising out of the january 2014 freedom industries , inc . chemical spill in west virginia . the effective date of the settlement is july 16 , 2018 . under the terms and conditions of the settlement , west virginia-american water company ( 201cwvawc 201d ) and certain other company affiliated entities ( collectively , the 201camerican water defendants 201d ) did not admit , and will not admit , any fault or liability for any of the allegations made by the plaintiffs in any of the actions that were resolved . under federal class action rules , claimants had the right , until december 8 , 2017 , to elect to opt out of the final settlement . less than 100 of the 225000 estimated putative class members elected to opt out from the settlement , and these claimants will not receive any benefit from or be bound by the terms of the settlement . in june 2018 , the company and its remaining non-participating general liability insurance carrier settled for a payment to the company of $ 20 million , out of a maximum of $ 25 million in potential coverage under the terms of the relevant policy , in exchange for a full release by the american water defendants of all claims against the insurance carrier related to the freedom industries chemical spill. .