updated the console.log comments