adding distanceTo and identity