adding the console.log code