added excluded location checks