basic pipe works