add a merged array class to account for array additions