a company has earnings