added shaking functionality @ev