added doc for creating stream with parameters