Add log
Refactored actions