created working barrett pipeline