Merge array instead of calling internal functions