added plot 2 source and output