Chapter 9: add Union type