ciao alex, per favore indenta correttamente il codice.
così com'è è illeggibile