fun foo(first: Array, second: Array) = Pair(first.toCollection(), second.toCollection())