delete classes graph helper method in submission