further work on stream deployment