Finalize code samples of chapter 08