chapter6_sample