add reference config file, efficient and effective