fixed syntax, removed console log