initial pipe support, not heavily tested