Handle array and or