Unfinished exercise for chapter 9.