removed unnecessary console.logs