First version of coloring