added chapter7 part 2. some edit on chapter 6