changes to graph + pdf