What does the ARRAY() UDF do? You didn't include that one in your code.
_________________________
There are two types of vessels, submarines and targets.