checkpoint before converting plotting to use an array of graph data