Chapter 6. Adding and removing a segment manager