Chapter 7: models and persistence