XML 15 R5.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENT OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net income $ 669,815 $ 87,691
Adjustments to reconcile net income to net cash (used in) provided by operating activities:    
Depreciation and amortization 261,553 57,875
Deferred income taxes (32,753) 2,248
Stock-based compensation expense 18,867 6,720
Other non-cash adjustments 3,534 6,748
Changes in assets and liabilities, net of assets acquired and liabilities assumed:    
Receivables (867,143) (69,991)
Inventories (840,283) (53,685)
Other current assets (53,672) 2,987
Other assets and liabilities 10,201 39,452
Accounts payable 448,527 108,152
Accrued liabilities 177,578 (18,311)
Net cash (used in) provided by operating activities (203,776) 169,886
Cash flows from investing activities:    
Purchases of property, plant and equipment (98,293) (54,809)
Proceeds from sale of property, plant and equipment 9,321 1,451
Cash acquired in BMC Merger 167,490  
Prepayments for acquisitions (225,000)  
Cash used for acquisitions (24,833) (15,893)
Net cash used in investing activities (171,315) (69,251)
Cash flows from financing activities:    
Borrowings under revolving credit facility 1,769,000 791,000
Repayments under revolving credit facility (1,233,000) (818,000)
Proceeds from long-term debt and other loans   895,625
Repayments of long-term debt and other loans (470,330) (557,964)
Payments of debt extinguishment costs (2,475) (22,686)
Payments of loan costs (4,272) (13,800)
Exercise of stock options 335 708
Repurchase of common stock (17,707) (4,153)
Net cash provided by financing activities 41,551 270,730
Net change in cash and cash equivalents (333,540) 371,365
Cash and cash equivalents at beginning of period 423,806 14,096
Cash and cash equivalents at end of period 90,266 385,461
Supplemental disclosures of cash flow information:    
Cash paid for interest 53,600 55,356
Cash paid for income taxes 191,070 335
Supplemental disclosures of non-cash activities:    
Non-cash consideration for the BMC Merger 3,658,362  
Accrued purchases of property, plant and equipment 9,616 1,900
Right-of-use assets obtained in exchange for operating lease obligations 29,146 25,960
Assets acquired under finance lease obligations $ 1,644 $ 10,132