adding orig distance