updated chapter 3. more updates, still a lot more missing