grazie a tutti ragazzi! ma ho risolto come ho scritto nel secondo post