renamed get_config