create the stream