corrected sytax error - incomplete console log