Change default value to None, and only calculate the sum if you ask for it