completing example 2