method design example 6.pdf