unified show results function