added union of arrays