better logic for determining travel