some more work on confidence interval