added override_config method