update example 3-5

update example 3-5