small changes regarding coloring education algorithm