not sure how to create the stream