How Diversity Help Communities