U.S. stocks surged Monday after a Federal Reserve official said the central bank shouldn’t raise interest rates too soon, which came as a big relief to investors. After a market nosedive on Friday, investors bought safe investments like household goods makers and phone companies. Technology companies also jumped.

On Monday:

The Dow Jones industrial average climbed 239.62 points, or 1.3 percent, to 18,325.07.

The Standard & Poor’s 500 index added 31.23 points, or 1.5 percent, to 2,159.04.

The Nasdaq composite leaped 85.98 points, or 1.7 percent, to 5,211.89.

For the year:

The Dow is up 900.04 points, or 5.2 percent.

The S&P 500 is up 115.10 points, or 5.6 percent.

The Nasdaq is up 204.48 points, or 4.1 percent.