writing messages to stderr and stream to stdout