Added debug code for the phase1 simulation