support array compare