started writing the graph exporter