updated to end of Chapter 4