more work on graph, added footer