updated so calculates CIs