improved data loading
added plot2