added vertex coloring