improved the graph