more work on chapter 12

Signed-off-by: Alexander Skjolden <alex@plastboks.net>