work in progressin , fixingerror in pedigre selection