It's OK to write the output to stdout too.