refactored retire equipment