renamed method getCollection to getCollectionName