unnecessary console.log removed