Added heuristic to color