edit streaming.py