removing unnecessary console.log