added some logging to pipeline