finished exc in chapter 2