write and compile half of chapter 14