removing unnecessary console.logs