chapter 8 - added fragment