added "trigger" method for event dispatching