refactoring - ConfigType