Implement pipeline with more than 2 components