added a getPeople method