findPersons function