Adding new function. 'findParticipantsByType'