Chapter 5. Machine phases and lifecycle