managers refactoring