differentiating example 5 from exercise 5