edit stream_controller add def stream_example