added plot 1 source and output