Using motion in our app