Stocks mainly fell Monday but ended off their worst levels of the day thanks to gains in health care shares. A stronger dollar ignited a sell-off in commodities like oil and gold, which weighed on energy and material stocks. Dell Inc.'s plans to buy Perot Systems Corp. for $3.9 billion helped to lift some tech stocks but failed to raise the broader market.

The Dow Jones industrial average fell 41.34, or 0.4 percent, to 9,778.86

The Standard & Poor's 500 index fell 3.64, or 0.3 percent, to 1,0064.66

The Nasdaq composite index rose 5.18, or 0.2 percent, to 2,138.04.

For the year:

The Dow is up 1,002.47, or 11.4 percent.

The S&P is up 161.41, or 17.9 percent.

The Nasdaq is up 561.01, or 35.6 percent.

Copyright 2009 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.