removed unnecessary console log statement