structured the coloring problem