Add a new action and logic for all actions