added triggerbox functionality