Figure 1: Tasks and State Transitions