use STDERR not STDOUT for logging