on, off and trigger methods can be called with list of events