growing in the second quarter, prompting executives to back an upbeat estimate of earnings through the end of the year.