added some structure to chapter 3