work on chapter 4
swap ch3 and 4