add an interface for Config