finished off chapter 3