arbitrary list sum