added support for pipe pointers