work on geodesic