added colored graph