Adding Max's PhaseState.java