nit: could use console.error