method design example 4.pdf