remove console.log, add comments