add some docs for pipeline