these were two alternatives of how to compute the conditional swap; hope this is clearer than in the original