Added more documentation on chapter 2