Expanded on chapter 2 somewhat.