summing of array content