removed unnecessary 'var'
Use new coloring algorithm