almost done with create_stream