added flag to turn off confidence interval