updated centralized algorithms