Add distance mesaure