function richness