removed excessive console.log statement