cut console.log statement