storage: using log instead of console.log