added events to pipeline, #27.