Chapter 13: first 4 exercises