Hiring at private companies rebounded at a stronger than expected pace in July, indicating the labor market is holding its ground, ADP reported Wednesday.

Payrolls rose by a seasonally adjusted 104,000 for the month, reversing a loss of 23,000 in June and topping the Dow Jones forecast from economists for an increase of 64,000. The June number was revised up from an initially reported loss of 33,000.

Though the pace of hiring is well off where it stood last year, the June total was the best since March and consistent with a slowing but still fairly vibrant jobs picture.

“Our hiring and pay data are broadly indicative of a healthy economy,” ADP chief economist Nela Richardson said. “Employers have grown more optimistic that consumers, the backbone of the economy, will remain resilient.”

The report follows months of concerns that President Donald Trump’s tariffs would hold back economic growth and stymie consumer spending. However, sentiment surveys show confidence returning even with some apprehension about consumer spending and the impact that the duties will have on U.S. businesses and inflation.