better-than-feared second-quarter earning report