adding labels attribute to stream definition