added case argument for the data richness group