colored the graphs