Initial work on chapter 5