Changes according to graph