6. Commitments and Contingencies Commitments Leases We entered into various non-cancelable lease agreements for certain of our offices with original lease periods expiring between 2018 and 2027. Certain of the arrangements have free rent periods or escalating rent payment provisions. We recognize rent expense under such arrangements on a straight-line basis. Our future minimum lease payments required under these non-cancelable operating lease obligations as of June 30, 2018, are as follows: Operating Leases (in thousands) Remainder of 2018 $ 29,010 2019 60,519 2020 60,187 2021 58,576 2022 47,482 Thereafter 145,557 Total minimum lease payments $ 401,331 Operating lease expenses for the three months ended June 30, 2018 and 2017 were $15.5 million and $11.8 million, respectively, and $31.3 million and $24.7 million for the six months ended June 30, 2018 and 2017, respectively. In 2018, we will exit various operating leases prior to the end of the contractual lease term, primarily as a result of moving to a centralized corporate office located in Santa Monica, California. As of June 30, 2018, these leases have a remaining contractual obligation of approximately $82.0 million. In the three months ended June 30, 2018, we recorded a lease exit charge of $3.9 million. The charge, recorded as general and administrative expense, reflects the present value of our remaining lease obligation on the cease use dates that occurred during the quarter, net of sublease income. We expect to incur total lease exit charges of approximately $25 million to $45 million in 2018, primarily in the third quarter, based on current exit plans. We have several lease agreements where we are deemed the owner under build-to-suit lease accounting. The fair value of the leased property and corresponding financing obligations are included in property and equipment, net and other liabilities, respectively, on our consolidated balance sheets as of June 30, 2018. Our future minimum lease payments required under non-cancelable financing lease obligations