combine this with if below, what is return console.log(err)?