change util.print to console.log