use entities to get collection names