trying to get the graph to display propperly