demo for multiple streams added... not tested but should work.