added #defend, #idefend and #edefend