removed console log call