Creating a pipeline