added event extraction for behaviour triggers