Changed coloring method.