MEdified a little bit the example