updated to hack in geodistance