add collectionconfig handling