adding chapter 4 exercises