using settings instance of config