added residual plot.