added plotting of new data