Αποστολή με SMS: The variational theory of geodesics