U.S. stocks appeared to be rebounding from steep two-day losses Monday and Tuesday that wiped out the entire year’s gains. All the major indexes gained.

In mid-morning trading,, he Dow was up more than 150 at 24,624.41, Nasdaq rose 109 to 7,021        and the S&P saw a 27 point gain to 2,668. The S&P officially left correction territory according to analysts.

All of the indexes fluctuated within a few points of these gains.

The so-called FAANG stocks, Amazon.com Inc, Netflix Inc and Alphabet Inc and Facebook Inc – gained between 1.3 percent and 2.3 percent. Battered Apple was up .5 percent, following losses of more than 20 percent since its record high Oct. 3.

Microsoft helped lead the rally, up 2.03, more than 2 percent, at $103.74 a share.

Other tech stocks, such as Autodesk, were also doing well in the rebound.