remove getPhases.