Creating the pipeline