switch var name for calculateRoute, oops