Ok, il problema è che non capisco dove stia l'errore nel passare in tal senso l'elemento array.