Trying to make  Example 4 easier to use