End of chapter 2, designing classes with a single responsibility.