adding last chapter 10.5 exercise