ch16 vector examples