SMS versenden: The variational theory of geodesics