added gist for shaking device