method design example 3.pdf