config should be seperate
merging