plot(object,...) needed to be plot(x,...)