added trigger event handler