tried fixing list_all_person function