DRY cleanup: common display result function