renamed stream.use to stream.transform