added plots.cc