added the graph classes