explore chapter 9 and close #6 issue