refactored instance method for defining centers