getting the phase to work