dont assume totals to have been calculated, fixes #9