rewrite section on confidence intervals