export function sum(values) {
if (values.length == 0) return 0;
const val = values.reduce((accumulator, value) => accumulator + value, 0);
return val;
}