refactored out centers