refactored action templates