Pipe endpoints working