Realized that reduce(add, [...]) is the same as sum([...]), made this correction in icp.