New stream.py