removed unnecessary console log