Example 5

Finalized example 5