added endShake