solved chapter 7