document
rename collectionName to resourceName