hook up event pipeline