Use case doc for combining two functions in the pipeline