NEW YORK (AP) — Stocks are eking out small gains at the end of a week in which the market was weighed down by prospects of a global economic slowdown.

The Dow closed up 35 points at 13,080 Friday. Investors shrugged off news that new home sales fell for the second straight month in February. The Standard & Poor’s 500 index inched up four points to 1,397 and the Nasdaq composite fell five to 3,068.

For the week, the Dow Jones industrial average was off 152 points, the worst in a month despite signs of strengthening in the U.S. economy and better corporate profits. Investors worried about a slowdown in Asia and Europe and the impact of higher oil prices on consumer spending.