al + presto ti posto un esempio funzionante...