Change graph, shorten code lines.