getArrayDiff as output