a stream is for transmitting data