working pipe
ctrl-d has problem