add trip distance method