chapter 5 exercises in progress