changed to use pedigree data