added plot and stats