Oops, I see that `event.acceleration` is an object, so please disregard my comment.