config to subclass