moved geo download code