added manual triggering of events