Add recurring pipes, refactor into own method