array_accum defined in the new aggregate function file