6. COMMITMENTS AND CONTINGENCIES Commitments MVP Terminal We have a 50 percent membership interest in MVP Terminalling, LLC (MVP), a Delaware limited liability company formed in September 2017 with a subsidiary of Magellan Midstream Partners LP (Magellan), to construct, own, and operate the Magellan Valero Pasadena marine terminal (MVP Terminal) located adjacent to the Houston Ship Channel in Pasadena, Texas. Construction of phases one and two of the project began in 2017 with a total estimated cost of $840 million , of which we have committed to contribute 50 percent (approximately $420 million ). The project could expand up to four phases with a total project cost of approximately $1.4 billion if warranted by additional demand and agreed to by Magellan and us. Since inception, we have contributed $188 million to MVP, of which $107 million was contributed during the nine months ended September 30, 2018 . Concurrent with the formation of MVP, we entered into a terminaling agreement with MVP to utilize the MVP Terminal upon completion of phase two, which is expected to occur in early 2020. The terminaling agreement has an initial term of 12 years with two five -year automatic renewals, and year-to-year renewals thereafter. Due to our membership interest in MVP and because we determined that the terminaling agreement was a capital lease, we are the accounting owner of the MVP Terminal during the construction period. Accordingly, as of September 30, 2018 , we recorded an asset of $442 million in property, plant, and equipment representing 100 percent of the construction costs incurred by MVP, as well as capitalized interest incurred by us, and a long-term liability of $254 million payable to Magellan. The amounts recorded for the portion of the construction costs associated with the payable to Magellan are noncash investing and financing items, respectively. Central Texas Pipeline We have committed to a 40 percent undivided interest in a project with a subsidiary of Magellan to jointly build an estimated 130 -mile, 20 -inch refined petroleum products pipeline with a capacity of up to 150,000 barrels per day from Houston to Hearne, Texas. The pipeline is expected to be completed in mid-2019. The estimated cost of our 40 percent undivided interest in this pipeline is $170 million . Since inception, capital expenditures have totaled $50 million , of which $43 million was spent during the nine months ended September 30, 2018 . Sunrise Pipeline System Effective January 31, 2018, we entered into a joint ownership agreement with Sunrise Pipeline LLC, a subsidiary of Plains All American Pipeline, L.P. (Plains), that provides us a 20 percent undivided interest in the Sunrise Pipeline System expansion to be constructed by Plains. The Sunrise Pipeline System is expected to contain (i) a 262 -mile, 24 -inch crude oil pipeline (the Sunrise Pipeline) that originates at Plains terminal in Midland, Texas and ends at Plains station in Wichita Falls, Texas with throughput capacity of approximately 500,000 barrels per day, and (ii) two 270,000 shell barrel capacity tanks located at the Colorado City, Texas station. The Sunrise Pipeline System expansion is expected to be placed in service in the fourth quarter of 2018. Capital expenditures totaled $138 million for the nine months ended September 30, 2018 . Environmental Matters We are involved, together with several other companies, in an environmental cleanup in the Village of Hartford, Illinois (the Village) and during 2015, one of these companies assumed the ongoing environmental cleanup in the Village pursuant to a federal court order. We had previously conducted an initial response in the Village, along with other companies, pursuant to an administrative order issued by the U.S. Environmental Protection Agency (EPA). The parties involved in the initial response may have further claims among themselves for costs already incurred. We also continue to be engaged in site assessment and interim measures at our shutdown refinery site, which is adjacent to the Village. During the second quarter of 2018, we entered into a consent order with the Illinois EPA that was approved by the state court on July 26, 2018. In the consent order, we assumed the underlying liability for full cleanup of our shutdown refinery site, and we recorded an adjustment to our existing environmental liability related to this matter, which did not materially affect our financial position or results of operations as of or for the nine months ended September 30, 2018 . We continue to seek contribution under Illinois law in state court and are pursuing claims under the Comprehensive Environmental Response, Compensation and Liability Act in federal court from other potentially responsible parties. Factors underlying the expected cost of the cleanup are subject to change from time to time, and actual results may vary significantly from the current estimate. Litigation Matters We are party to claims and legal proceedings arising in the ordinary course of business. We have not recorded a loss contingency liability with respect to some of these matters because we have determined that it is remote that a loss has been incurred. For other matters, we have recorded a loss contingency liability where we have determined that it is probable that a loss has been incurred and that the loss is reasonably estimable. These loss contingency liabilities are not material to our financial position. We re-evaluate and update our loss contingency liabilities as matters progress over time, and we believe that any changes to the recorded liabilities will not be material to our financial position, results of operations, or liquidity.