example 2 complete

So here is the completed example of example 2