with config sample