chapter 5, finished 5.6