added comments to console.log