use dust global to keep a reference to the stream