XML 15 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES Consolidated Condensed Statements of Cash Flows Unaudited
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2021
USD ($)
Jul. 31, 2022
USD ($)
Jul. 31, 2021
USD ($)
Statement of Cash Flows [Abstract]      
Net income including noncontrolling interests $ 10,052 $ 21,871 $ 18,450
Net income from discontinued operations, net of tax 2,013   2,448
Net income from continuing operations 8,039 21,871 16,002
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation   8,984 9,056
Amortization of operating lease right-of-use assets   2,835 2,734
Income from equity method investments (1,844) (5,549) (2,414)
Interest income from investments   (488) (27)
Deferred income tax   4,153 3,158
Stock based compensation expense   856 567
Loss (gain) on sale of property and equipment – net   5 (3)
Changes in assets and liabilities:      
Accounts receivable   (12,738) (9,808)
Inventories   (7,703) (3,886)
Refundable income taxes   779 (1,132)
Other assets   (2,153) 282
Accounts payable, trade   (11,254) 4,800
Other liabilities   1,173 902
Net cash provided by operating activities from continuing operations   771 20,231
Net cash used in operating activities from discontinued operations     (3,074)
Net cash provided by operating activities   771 17,157
Cash flows from investing activities:      
Capital expenditures   (2,936) (2,693)
Purchase of short-term investments   (189,988) (49,281)
Sale of short-term investments   25,882 52,220
Other     30
Net cash (used in) provided by investing activities   (167,042) 276
Cash flows from financing activities:      
Treasury stock acquired   (6,193) (1,356)
Payments to noncontrolling interests holders   (1,633) (1,304)
Net cash used in financing activities from continuing operations   (7,826) (2,660)
Net cash provided by financing activities from discontinued operations     139
Net cash used in financing activities   (7,826) (2,521)
Net (decrease) increase in cash, cash equivalents and restricted cash   (174,097) 14,912
Cash, cash equivalents and restricted cash, beginning of period   232,068 146,158
Cash, cash equivalents and restricted cash, end of period 161,070 57,971 161,070
Cash and cash equivalents 154,312 54,639 154,312
Restricted cash 6,758 3,332 6,758
Total cash, cash equivalents and restricted cash $ 161,070 57,971 161,070
Non cash investing activities – Accrued capital expenditures   260 67
Non cash financing activities – Stock awards accrued   563 482
Non cash financing activities – Stock awards issued   1,539 100
Right-of-use assets acquired and liabilities incurred upon lease execution   $ 4,507 $ 3,267