- detect closest location