adding geodesics