added making a graph