changed console.log statement