Refactored subdued action, making it easier to read and test