use listCollectionsNames() instead of getName() on listCollections() to list collection names