Add calculate distance