beh la funzione del loader la metti fuori dal for anche fuori dalla funzione e nel for ci metti solo le chiamate al loader