added graph classes