è proprio così , anche se io l'avevo fatto in c#