explain this console.log maybe change it to console.error