add reduce for collection name