refined some end of chapter 2 exercises