Changed cancelled to if and to <del>