- refactored Compartment applyDynamic