getPhase() may help here actually