I&#x27;m not sure if that&#x27;s something that he wrote or you wrote, but a `sum` function which has a side-effect of emptying its input list seems like a terrible thing. I hope you wouldn&#x27;t use that in production.