consolidate pipes