In reply to ppeezz:
This is because there is kind of a hierarchy of phases. The main_phase is embedded in the run_phase.