simplify subpipe API