console.log, not rl.write