cleanup
refactor getDistanceTo to equals where appropriate