completing example 3