notes added to diversity_stats.R