Finish chapter 3.
Implement example.