First working pipe version