For each of the four major phases in the simulation, briefly describe