Unnecessary console.log removed