CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($) $ in Thousands |
12 Months Ended |
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
| Cash flows from operating activities |
|
|
|
| Net (loss) income |
$ (238,623)
|
$ 43,264
|
$ 116,980
|
| Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities: |
|
|
|
| Depreciation and amortization |
111,942
|
115,851
|
86,364
|
| Amortization of deferred financing fees |
6,019
|
5,899
|
5,627
|
| Amortization of leasehold interests |
1,252
|
794
|
|
| Amortization of senior notes discount |
1,393
|
1,089
|
559
|
| Bad debt expense |
231
|
1,172
|
1,700
|
| Unit-based compensation expense |
4,145
|
4,208
|
3,485
|
| Write-off of financing fees |
1,828
|
|
1,626
|
| Net loss on sale and disposition of assets |
20,495
|
2,097
|
2,182
|
| Goodwill and long-lived asset impairment |
149,972
|
|
|
| Deferred income taxes |
(18,782)
|
(3,624)
|
(11)
|
| Changes in operating assets and liabilities, excluding net assets acquired |
|
|
|
| Accounts receivable |
(110,237)
|
154,716
|
226,962
|
| Accounts receivable - affiliate |
(565)
|
1,325
|
(2,499)
|
| Inventories |
(135,888)
|
(32,648)
|
235,993
|
| Broker margin deposits |
3,674
|
(14,129)
|
4,594
|
| Prepaid expenses, all other current assets and other assets |
2,987
|
12,526
|
(49,020)
|
| Accounts payable |
17,410
|
(172,318)
|
(324,500)
|
| Trustee taxes payable |
5,902
|
(15,648)
|
25,528
|
| Change in derivatives |
40,218
|
(8,869)
|
(17,509)
|
| Accrued expenses, all other current liabilities and other long-term liabilities |
16,741
|
(33,199)
|
26,841
|
| Net cash (used in) provided by operating activities |
(119,886)
|
62,506
|
344,902
|
| Cash flows from investing activities |
|
|
|
| Acquisitions |
|
(561,170)
|
|
| Capital expenditures |
(71,279)
|
(92,925)
|
(95,114)
|
| Proceeds from sale of property and equipment |
77,726
|
4,331
|
4,021
|
| Net cash provided by (used in) investing activities |
6,447
|
(649,764)
|
(91,093)
|
| Cash flows from financing activities |
|
|
|
| Proceeds from issuance of common units, net |
|
109,305
|
137,844
|
| Net borrowings from (payments on) working capital revolving credit facility |
176,500
|
148,100
|
(227,000)
|
| Net (payments on) borrowings from revolving credit facility |
(52,300)
|
135,200
|
(300,900)
|
| Proceeds from sale-leaseback, net |
62,469
|
|
|
| Proceeds from senior notes, net of discount |
|
295,338
|
258,903
|
| Repayment of senior notes |
|
|
(40,244)
|
| Payments on line of credit |
|
(700)
|
(3,000)
|
| Repurchase of common units |
|
(3,892)
|
(8,632)
|
| Noncontrolling interest capital contribution |
|
2,560
|
8,200
|
| Distribution to noncontrolling interest |
(1,798)
|
(5,280)
|
(9,200)
|
| Distributions to partners |
(62,520)
|
(97,495)
|
(73,759)
|
| Net cash provided by (used in) financing activities |
122,351
|
583,136
|
(257,788)
|
| Cash and cash equivalents |
|
|
|
| Increase (decrease) in cash and cash equivalents |
8,912
|
(4,122)
|
(3,979)
|
| Cash and cash equivalents at beginning of year |
1,116
|
5,238
|
9,217
|
| Cash and cash equivalents at end of year |
10,028
|
1,116
|
5,238
|
| Supplemental information |
|
|
|
| Cash paid during the period for interest |
64,112
|
59,764
|
31,554
|
| Cash paid during the period for income taxes |
$ 16,990
|
$ 2,772
|
757
|
| Non-cash exchange of 6.25% senior notes due 2022 |
|
|
$ 110,000
|