Fixed bug in example #3.