added demo for console.log