remove console.log; use action