revise the graphs, final version