XML 118 R7.htm IDEA: XBRL DOCUMENT v3.20.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Cash flow from operating activities    
Net income $ 306,243 $ 46,135
Adjustments to reconcile net income to net cash used in operating activities:    
Net gains on loans held for sale at fair value (344,282) (84,776)
Change in fair value of mortgage servicing rights, mortgage servicing liabilities and excess servicing spread (15,879) 118,806
Capitalization of interest on loans held for sale at fair value (18,131) (16,487)
Amortization of net debt issuance cost and (premiums) 2,209 (6,570)
Results of real estate acquired in settlement of loans 707 (274)
Stock based compensation expense 12,368 4,531
Provision for servicing advance losses 3,806 4,820
Depreciation and amortization 5,352 3,159
Amortization of right-to-use assets 2,985 2,359
Origination of loans held for sale (4,954,316) (1,542,056)
Purchase of loans held for sale from non-affiliates (620,859) (177,678)
Purchase of loans from Ginnie Mae securities and early buyout investors for modification and subsequent sale (2,299,262) (941,154)
Sale to non-affiliates and principal payments of loans held for sale 19,337,017 8,536,430
Repurchase of loans subject to representations and warranties (16,282) (4,064)
Settlement of repurchase agreement derivatives   11,436
Increase in servicing advances 18,467 24,087
Sale of real estate acquired in settlement of loans 9,459 2,075
Decrease (increase) in other assets 628 (38,676)
Decrease in operating lease liabilities (3,469) (2,977)
Increase in accounts payable and accrued expenses 21,866 10,483
Net cash (used in) operating activities (730,284) (134,247)
Cash flow from investing activities    
Decrease (increase) in short-term investments 72,727 (31,548)
Net settlement of derivative financial instruments used for hedging of mortgage servicing rights 942,005 125,695
Purchase of mortgage servicing rights (24,104) (211,481)
Purchase of furniture, fixtures, equipment and leasehold improvements (994) (2,126)
Acquisition of capitalized software (14,108) (6,750)
Decrease in margin deposits 132,953 28,343
Net cash provided by (used in) investing activities 1,116,225 (92,771)
Cash flow from financing activities    
Sale of assets under agreements to repurchase 20,510,531 8,382,013
Repurchase of assets sold under agreements to repurchase (20,205,416) (8,164,625)
Issuance of mortgage loan participation purchase and sale certificates 5,273,329 5,555,946
Repayment of mortgage loan participation purchase and sale certificates (5,242,527) (5,540,374)
Repayments of obligations under capital lease (2,665) (1,514)
Repayment of excess servicing spread financing (9,308) (10,552)
Payment of debt issuance costs (3,388) (1,536)
Issuance of common stock pursuant to exercise of stock options 3,082 1,283
Repurchase of common stock (4,121)  
Payment of withholding taxes relating to stock-based compensation (5,265) (4,634)
Payment of dividend to holders of common stock (9,733)  
Net cash provided by (used in) financing activities 304,519 216,007
Net increase (decrease) in cash and restricted cash 690,460 (11,011)
Cash and restricted cash at beginning of quarter 188,578 155,924
Cash and restricted cash at end of quarter 879,038 144,913
Cash 878,826 144,266
Restricted cash included in Other assets 212 647
PMT    
Adjustments to reconcile net income to net cash used in operating activities:    
Accrual of interest on excess servicing spread financing payable to PennyMac Mortgage Investment Trust 1,974 3,066
Change in fair value of investment in common shares of PennyMac Mortgage Investment Trust 875 (156)
Purchase of loans held for sale from PennyMac Mortgage Investment Trust (14,509,209) (6,959,389)
Sale of loans held for sale to Penny Mac Mortgage Investment Trust 2,246,127 884,510
(Increase) decrease in receivable from affiliates (10,133) 2,775
Decrease in payable to affiliate (17,019) (28,752)
Increase in income taxes payable 108,474 14,090
Cash flow from investing activities    
Net change in assets purchased from PMT under agreement to resell $ 7,746 $ 5,096