flipped array condition tests around