Take numbers into consideration when calculating confidence
Cleanup so that it is friendlier for everyone to run