done with graphs