I forgot, what is the reason for passing array as "ref" ?
Thanks