adding graph-classes