almost finished the phase shift!