Preimplantataion genetic diagnosis is used for