added support for additional pipes