ok grazie mille,ho optato per creare un unico enorme switch contenuto in un while, così mi sono risparmiato anche altri switch