Managing impairment of goodwill