E come si fa? Il codice che ho scritto come andrebbe riscritto?