def triggers() debug - minor edit