In millions, except per share items | Dec-31-21 | Dec-31-20 | Dec-31-19 | Dec-31-18 | Dec-31-17 | Dec-31-16 |
| 10-K | 10-K | 10-K | 10-K | 10-K | S-1/A |
Cash flows from operating activities: | | | | | | |
Net income (loss) | 163.8 | 144.7 | 185.7 | 63.0 | 20.7 | |
Adjustments to reconcile net income (loss) to net cash from operating activities: | | | | | | |
Provision for (benefit from) income taxes | 9.2 | 10.0 | 26.3 | 5.8 | 4.5 | |
Depreciation, amortization and accretion | 49.2 | 53.1 | 42.3 | 25.1 | 3.5 | |
Unit-based compensation expense | 9.8 | 8.9 | 5.2 | | | |
Impairment and abandonments | | | | | | |
(Gain) loss on sale of equity method investments | -23.0 | | | | | |
(Income) loss from equity method investments | -14.8 | 9.9 | 6.3 | | -1.4 | |
Distributions from equity method investments | 34.7 | | | | | |
Other | 2.0 | 1.0 | | 2.6 | | |
Changes in operating assets and liabilities: | | | | | | |
Accounts receivable—related-party | -0.7 | -7.2 | -65.0 | 17.6 | -29.1 | |
Accounts receivable—third-party | 1.2 | 0.9 | -1.2 | | | |
Accounts payable and accrued liabilities | | | | 61.1 | 2.1 | |
Other | 0.5 | 5.5 | -17.2 | -1.8 | -0.3 | |
Net cash provided by (used in) operating activities | 248.1 | 229.9 | 218.2 | 173.4 | 0.0 | |
|
Cash flows from investing activities: | | | | | | |
Additions to property, plant and equipment | | | | -164.9 | | |
Acquisitions of property, plant and equipment | -32.2 | -136.8 | -241.8 | | | |
Contributions to equity method investments | -104.5 | | | | | |
Distributions from equity method investments | 9.1 | 39.8 | | | | |
Proceeds from the sale of equity method investments | 23.5 | | | | | |
Proceeds from the sale of real estate | 80.7 | 18.7 | 0.0 | | | |
Net cash provided by (used in) investing activities | -183.3 | -180.8 | -578.4 | -164.9 | | |
|
Cash flows from financing activities: | | | | | | |
Proceeds from borrowings under Credit Agreement | 355.0 | 211.0 | 463.0 | | | |
Payments on Credit Agreement | -239.0 | -556.0 | -39.0 | | | |
Repurchased units as part of unit buyback | -47.6 | -14.7 | | | | |
Distribution to public | -36.5 | -46.9 | -14.9 | | | |
Distribution to Diamondback | -97.1 | -115.4 | -763.2 | | | |
Other | -3.6 | -3.7 | 1.2 | 0.0 | | |
Net cash provided by (used in) financing activities | -68.8 | -35.8 | 362.2 | 0.0 | | |
Net increase (decrease) in cash | -4.0 | 13.3 | 2.1 | 8.6 | | |
|
Supplemental disclosure of non-cash investing activity: | | | | | | |