Even if they don't know that you are practicing for them, you are helping them and in turn they are helping you. They are actively helping you to develop your compassion, and so to purify and heal yourself. For me, all dying people are teachers, giving to all those who help them a chance to transform themselves through developing their compassion