chapter 3,4 converted