removed unnecessary console.logs.