Implementing getPeopleByName