removed a few console log statements