XML 18 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2020
Oct. 31, 2019
Operating activities    
Net income (loss) $ 8,415 $ (1,422)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 4,493 5,295
Deferred income taxes 3,104 479
Provision for doubtful accounts receivable 579 549
Stock-based compensation 506 1,364
Other 1,094 (34)
Changes in assets and liabilities:    
Trade accounts receivable (4,020) 7,975
Prepaid expenses, other current assets and other assets 7,318 (9,166)
Trade accounts payable, accrued expenses, other current liabilities and other liabilities (2,023) (10,012)
Customer deposits at IDT Financial Services Limited (Gibraltar-based bank) (549) 1,793
Deferred revenue (150) (1,798)
Net cash provided by (used in) operating activities 18,767 (4,977)
Investing activities    
Capital expenditures (4,564) (3,851)
Purchases of debt securities and equity investments (29,295) (8,195)
Proceeds from maturities and sales of debt securities and redemption of equity investments 6,596 782
Net cash used in investing activities (27,263) (11,264)
Financing activities    
Distributions to noncontrolling interests (28) (240)
Repayment of other liabilities (40) (19)
Proceeds from exercise of stock options 185 276
Repurchases of Class B common stock (2,856)
Net cash (used in) provided by financing activities (2,739) 17
Effect of exchange rate changes on cash, cash equivalents, and restricted cash and cash equivalents (1,859) 11,426
Net decrease in cash, cash equivalents, and restricted cash and cash equivalents (13,094) (4,798)
Cash, cash equivalents, and restricted cash and cash equivalents at beginning of period 201,222 257,199
Cash, cash equivalents, and restricted cash and cash equivalents at end of period $ 188,128 $ 252,401