print to stdout instead of to file