some changes on console.log sample