removed unused console.log statements