forse dovrei usare un array di puntatori a strutture... ma dovrei riscrivere tutto