v1 of arrayToSeq method is working almost as expected