adding chapter 18 exercise.