update example 3-10

update example 3-10