NEW YORK (AP) — Stocks edged mostly higher in afternoon trading on Wall Street Wednesday, but were held back by streaming entertainment giant Netflix, which lost lost more than a third of its value after reporting its first subscriber loss in more than a decade and predicting more grim times ahead.

The S&P 500 rose 0.3% as of 12:06 p.m. Eastern. The Dow Jones Industrial Average rose 337 points, or 1%, to 35,249 and the Nasdaq fell 0.8%.

Health care stocks made some of the biggest gains. CVS jumped 3.4% and medical device maker Boston Scientific rose 3.7%.

Banks and a mix of household product makers also made solid gains. Bank of America rose 1.5%. Charmin and Dawn maker Procter & Gamble rose 2.8% after beating analysts’ quarterly earnings forecasts.

Big technology companies did some of the heavy lifting after helping to power the market higher a day earlier. IBM rose 7.6% after reporting solid financial results. Cisco rose 3%.

Netflix slumped 37%. The company suffered its first subscriber loss in more than a decade and expects a steeper decline during the current quarter. It is also considering changes that it has long resisted, including minimizing password sharing and creating a low-cost subscription supported by advertising.

Investors continue focusing on the latest round of corporate earnings as they try to determine how companies are dealing with rising inflation and cost pressures. Railroad operator CSX, electric vehicle maker Tesla and United Airlines will report their results later Wednesday. American Airlines and Union Pacific will report results on Thursday.

Inflation has been putting increasing pressure on a wide range of industries and increasingly squeezing consumers. Rising prices have prompted the Federal Reserve and other central banks to raise interest rates in order to help temper inflation’s impact. The Fed has already announced a quarter-percentage point rate hike and Wall Street expects a half-percentage rate hike at its next meeting in two weeks.

“The market knows the Fed’s going to hike rates a bunch,” said Scott Wren, senior global market strategist at Wells Fargo Investment Institute. “But, the market is feeling pretty good that once we get to neutral, then in 2023 maybe you don’t go a lot further.”

Interest rates are considered “neutral” when they neither push nor restrict economic growth. Currently, investors expect rate hikes to increase the benchmark interest rate to a range between 2.75% and 3% by the end of the year, according to CME Group’s FedWatch tool.

Bond yields have been rising throughout the year as Wall Street prepares for higher interest rates. The yield on the 10-year Treasury note eased to 2.86% from 2.91% late Tuesday, but it’s still near its highest level since late 2018.

Higher bond yields have been pushing up mortgage rates and increasing pressure on an already tight housing market. The National Association of Realtors reported Wednesday that sales of previously occupied U.S. homes slowed in March to the slowest pace in nearly two years as higher mortgage rates and already record-high prices discouraged would-be homebuyers.

Russia’s invasion of Ukraine and the ongoing conflict has only added to the worries about rising inflation crimping economic growth. The conflict has pushed energy and commodity prices higher.

U.S. crude oil prices fell 1.5% Wednesday, but are up 33% for the year and have been pushing gasoline prices higher. Wheat prices are up 40% for the year and that has the potential to increase prices for a wide range of food products globally.

Stocks have mostly struggled this year because of the confluence of concerns. Meanwhile virus lockdowns in China are easing. Authorities in Shanghai allowed 4 million people to leave their homes, but the lockdowns have left the Chinese economy damaged.