Documentation upgraded with a full example