updated many versions to choose data classes for color range