Oppure usi un puntatore a funzione ...