add trigger/toggle support