add shaking feature