text attachment example for chapter 23