added getConfig()