moved repeated code to participant_summary partial