refining2 + config from config.json