XML 88 R7.htm IDEA: XBRL DOCUMENT v3.19.3
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Cash flow from operating activities    
Net income $ 240,304 $ 191,483
Adjustments to reconcile net income to net cash used in operating activities:    
Net gains on loans held for sale at fair value (468,041) (189,274)
Change in fair value of mortgage servicing rights, mortgage servicing liabilities and excess servicing spread 436,721 156,696
Capitalization of interest on loans held for sale at fair value (56,800) (67,025)
Accrual of interest on excess servicing spread financing 8,124 11,584
Amortization of net debt issuance (premiums) and costs (6,601) (19,198)
Results of real estate acquired in settlement of loans (1,205) (179)
Stock based compensation expense 19,124 20,766
Provision for servicing advance losses 19,973 24,046
Depreciation and amortization 10,650 9,046
Amortization of right-to-use assets 7,258  
Purchase of loans held for sale from nonaffiliates (1,132,749) (409,546)
Origination of loans held for sale (7,249,762) (3,640,045)
Purchase of loans from Ginnie Mae securities and early buyout investors for modification and subsequent sale (4,172,281) (3,342,029)
Sale and principal payments of loans held for sale to non-affiliates 39,084,441 34,208,217
Repurchase of loans subject to representations and warranties (15,427) (24,891)
Settlement of repurchase agreement derivatives 31,993 19,460
(Increase) decrease in servicing advances (9,871) 35,813
Sale of real estate acquired in settlement of loans 17,141 3,004
(Increase) decrease in other assets (22,415) 9,291
Decrease in operating lease liabilities (9,234)  
Increase in accounts payable and accrued expenses 78,800 14,021
Net cash (used in) provided by operating activities (1,690,141) 732,584
Cash flow from investing activities    
Decrease in short-term investments 27,161 24,604
Net settlement of derivative financial instruments used for hedging 542,139 (182,402)
Purchase of mortgage servicing rights (227,445) (180,139)
Purchase of furniture, fixtures, equipment and leasehold improvements (5,534) (8,919)
Acquisition of capitalized software (22,190) (13,091)
Increase in margin deposits (168,062) (836)
Net cash provided by (used in) investing activities 169,416 (349,783)
Cash flow from financing activities    
Sale of assets under agreements to repurchase 41,296,345 31,318,277
Repurchase of assets sold under agreements to repurchase (39,692,086) (31,960,304)
Issuance of mortgage loan participation purchase and sale certificates 17,498,589 19,398,281
Repayment of mortgage loan participation purchase and sale certificates (17,516,431) (19,401,301)
Advances of obligations under capital lease 25,123  
Repayments of obligations under capital lease (7,847) (11,341)
Advances on notes payable   1,300,000
Repayments of notes payable   (900,000)
Repayment of excess servicing spread financing (30,901) (35,852)
Payment of debt issuance costs (4,489) (15,320)
Issuance of common stock pursuant to exercise of stock options 3,900 4,718
Repurchase of common stock (1,056) (4,826)
Payment of withholding taxes relating to stock-based compensation (4,634)  
Payment of dividend to Class A common stockholders   (10,054)
Net cash provided by (used in) financing activities 1,566,513 (317,722)
Net increase in cash and restricted cash 45,788 65,079
Cash and restricted cash at beginning of period 155,924 38,173
Cash and restricted cash at end of period 201,712 103,252
Cash 201,268 102,627
Restricted cash included in Other assets 444 625
Investment Funds    
Adjustments to reconcile net income to net cash used in operating activities:    
Carried Interest from Investment Funds   365
PMT    
Adjustments to reconcile net income to net cash used in operating activities:    
Change in fair value of investment in common shares of PennyMac Mortgage Investment Trust (270) (313)
Purchase of loans held for sale from PennyMac Mortgage Investment Trust (32,619,639) (28,584,762)
Sale of loans held for sale to Penny Mac Mortgage Investment Trust 4,095,079 2,336,162
Increase in receivable from affiliates (9,598) (2,825)
Decrease in payable to affiliate (45,869) (46,731)
Increase in income taxes payable 80,013 19,448
Cash flow from investing activities    
Net change in assets purchased from PMT under agreement to resell $ 23,347 $ 11,000