differentiating the graphs a little bit