can output using console.log or process.stdout.write