Refactor: extracted into #sum_all (line 6)