Made the stream name a variable