First refactor; pass start and end locations as function params; Persist a traveller which contains a hash of starting and ending locations