Why do you need to call `sum()` a second time?