removed console log statements