* solution to example 10 added