fixed no return value in filterPeople()