Years Ended December 31,
Years Ended December 31,
2019
2018
(in thousands)
(in thousands)
Net cash provided by operating activities
$78,348
$102,689
Net cash used in investing activities
(6,973)
(7,825)
Net cash used in financing activities
(53,383)
(93,784)
Effect of exchange rate changes on cash, cash equivalents and restricted cash
934
(1,301)
Increase (decrease) in cash, cash equivalents and restricted cash
$18,926
(221)
following is a summary of our cash flows provided by -used in operating activities investing activities and financing activities for the years endedd ecember 31 2019 and 2018 .
a discussion of cash flows for the year ended december 31 2017 has been omitted from this annual report on form 10-k but may be found in “ item 7 .
management ’ s discussion and analysis of financial condition and results of operations ” under the heading “ liquidity and capital resources ” in our annual report on form 10-k for the year ended december 31 2018 filed with the sec on february 5 2019 which discussion is incorporated herein by reference and which is available free of charge on the sec ’ s website at www .
sec .
gov .
cash flows from operating activities .
net cash provided by operating activities was $ 78 .
3 million for the year ended december 31 2019 .
net cash provided by operating activities consisted of positive cash flow from operations including $ 101 .
1 million in non-cash expenses and $ 16 .
9 million in changes in operating assets and liabilities partially offset by net loss of $ 19 .
9 million and deferred income taxes and excess tax benefits from stock-based compensation of $ 19 .
8 million .
non-cash items included in net loss for the year ended december 31 2019 primarily included depreciation and amortization of property equipment intangible assets and leased right-of-use assets of $ 66 .
4 million and stock-based compensation of $ 32 .
1 million .
during the year ended december 31 2019 we also exited certain leased facilities which resulted in impairment of leased right-of-use assets of $ 9 .
2 million and leasehold improvements of $ 1 .
4 million which was partially offset by a gain on extinguishment of related lease liabilities of $ 10 .
4 million all of which are non-cash items that did not affect cash flows .
net cash provided by operating activities was $ 102 .
7 million for the year ended december 31 2018 .
net cash provided by operating activities consisted of positive cash flow from operations including $ 100 .
3 million in non-cash operating expenses and $ 28 .
6 million in changes in operating assets and liabilities partially offset by net loss of $ 26 .
2 million .
non-cash items included in net loss for the year ended december 31 2018 primarily included depreciation and amortization of property equipment and intangible assets of $ 79 .
0 million stock-based compensation of $ 31 .
7 million and impairment of intangible assets of $ 2 .
2 million partially offset by deferred income taxes of $ 12 .
1 million and excess tax benefits on stock-based awards of $ 2 .
0 million .
cash flows from investing activities .
net cash used in investing activities was $ 7 .
0 million for the year ended december 31 2019 .
net cash used in investing activities primarily consisted of $ 6 .
9 million in purchases of property and equipment .
net cash used in investing activities was $ 7 .
8 million for the year ended december 31 2018 .
net cash used in investing activities consisted entirely of $ 7 .
8 million in purchases of property and equipment .
cash flows from financing activities .
net cash used in financing activities was $ 53 .
4 million for the year ended december 31 2019 .
net cash used in financing activities consisted primarily of cash outflows from aggregate prepayments of principal of $ 50 .
0 million and $ 12 .
0 million in minimum tax withholding paid on behalf of employees for restricted stock units partially offset by cash inflows of $ 8 .
6 million in net proceeds from issuance of common stock upon exercise of stock options .
net cash used in financing activities was $ 93 .
8 million for the year ended december 31 2018 .
net cash used in financing activities primarily consisted of cash outflows from $ 93 .
0 million in aggregate prepayments of principal on outstanding debt and $ 7 .
6 million in minimum tax withholding paid on behalf of employees for restricted stock units partially offset by cash inflows of $ 6 .
8 million in net proceeds from issuance of common stock upon exercise of stock options .
we believe that our $ 92 .
7 million of cash and cash equivalents at december 31 2019 will be sufficient to fund our projected operating requirements for at least the next twelve months .
we have repaid $ 213 .
0 million of debt to date .
the credit agreement permits the company to request incremental loans in an aggregate principal amount not to exceed the sum of $ 160 .
0 million -subject to adjustments for any voluntary prepayments plus an unlimited amount that is subject to pro forma compliance with certain secured leverage ratio and total leverage ratio tests .
incremental loans are subject to certain additional conditions including obtaining additional commitments from the lenders then party to the credit agreement or new lenders .
the term loan facility has a seven-year term and bears interest at either an adjusted libor or an adjusted base rate at our option plus a fixed applicable margin .
our cash and cash equivalents in recent years have been favorably affected by our implementation of an equity-based bonus program for our employees including executives .
in connection with that bonus program in february 2019 we issued 0 .
3 million freely-tradable shares of our common stock in settlement of bonus awards for the 2018 performance period .
we expect to implement a similar equity-based plan for fiscal 2019 but our compensation committee retains discretion to effect payment in cash stock or a combination of cash and stock .
notwithstanding the foregoing we may need to raise additional capital or incur additional indebtedness to fund strategic initiatives or operating activities particularly if we continue to pursue acquisitions .
our future capital requirements will depend on many factors including our rate of revenue growth the expansion of our engineering sales and marketing activities the timing and extent of our expansion into new territories the timing of introductions of new products and enhancements to existing products the continuing market acceptance of our products and potential material investments in or acquisitions of complementary businesses services or technologies .
additional funds may not be available on terms favorable to us or at all .
if we are unable to raise additional funds when needed we may not be able to sustain our operations or execute our strategic plans .

Question: What was the respective Net cash used in investing activities in 2019 and 2018?
Answer: (6,973) (7,825)