Somewhat finished chapter 1.