I get a compile error "expected array" for UBound