add function

getPeopleBytype