centralizing functions