completing example 5