working on stream to stream transform