moved collectionData in config