adding distance calculator