Matching. Choosing a dog for a pedigree