removed getConfig()