make stream work