adding the watcher to pipeline