distanceTo is now working