nit: remove console.logs