Adding in the graph page, commented out unused code