delete old species richness code