Stocks managed to close with modest gains on Wall Street after a day of up-and-down trading.
Coca-Cola rose 4 percent after reporting higher sales of non-carbonated beverages. Johnson & Johnson rose 2 percent after its income rose.
Toll Brothers and other homebuilders fell after a measure of the industry's confidence in the housing market remained low. Apple and Netflix also fell.