changed console.log