(dollars in millions)
(dollars in millions)
Years Ended December 31,
2019
2018
Cash flows provided by (used in)
Operating activities
$ 35,746
$ 34,339
Investing activities
(17,581)
(17,934)
Financing activities
(18,164)
(15,377)
Increase in cash, cash equivalents and restricted cash
$1
$ 1,028
capital expenditures .
our 2020 capital program includes capital to fund advanced networks and services including expanding our core networks adding capacity and density to our 4g lte network in order to stay ahead of our customers ’ increasing data demands and deploying our 5g network transforming our structure to deploy the intelligent edge network while reducing the cost to deliver services to our customers and pursuing other opportunities to drive operating efficiencies .
we expect that the new network architecture will simplify operations by eliminating legacy network elements improve our 4g lte coverage speed the deployment of 5g technology and create new enterprise opportunities in the business market .
the level and the timing of the company ’ s capital expenditures within these broad categories can vary significantly as a result of a variety of factors outside of our control such as material weather events equipment availability from vendors and permits from local governments .
capital expenditures for 2020 are expected to be in the range of $ 17 .
0 billion to $ 18 .
0 billion including the continued investment in our 5g network .
capital expenditures were $ 17 .
9 billion in 2019 and $ 16 .
7 billion in 2018 .
we believe that we have significant discretion over the amount and timing of our capital expenditures on a company-wide basis as we are not subject to any agreement that would require significant capital expenditures on a designated schedule or upon the occurrence of designated events .
consolidated financial condition .
we use the net cash generated from our operations to fund expansion and modernization of our networks service and repay external financing pay dividends invest in new businesses and spectrum and when appropriate buy back shares of our outstanding common stock .
our sources of funds primarily from operations and to the extent necessary from external financing arrangements are sufficient to meet ongoing operating and investing requirements .
we expect that our capital spending requirements will continue to be financed primarily through internally generated funds .
debt or equity financing may be needed to fund additional investments or development activities or to maintain an appropriate capital structure to ensure our financial flexibility .
our cash and cash equivalents are held both domestically and internationally and are invested to maintain principal and provide liquidity .
see “ market risk ” for additional information regarding our foreign currency risk management strategies .
our available external financing arrangements include an active commercial paper program credit available under credit facilities and other bank lines of credit vendor financing arrangements issuances of registered debt or equity securities u .
s .
retail medium-term notes and other capital market securities that are privately-placed or offered overseas .
in addition we monetize our device payment plan agreement receivables through asset-backed debt transactions .

Question: What was the cash flow from operating activities in 2019?
Answer: $ 35,746