in the middle of integrating distance

still need to modify distance calculation.  call order is working. might
have performance issues need to check