basic pipe working