implement class coloring