refactoring to extract NSAttributedString; eventually to re-use it for last results field