measure shaking