removed unnecessary console.log statements