introduction to chapter 1, still missing C and XS code