add outputFamSummary function