method design example 5.pdf