add more error checking
update Nuget package
return duration with distance