Example5 completed