implemented pedigree search functions