use yaml config