messages to a stream