add query person method