removed some console log statements