only sum is exported