Complete phase_4