plot2 code
other stuff