add reachability, fix error message wording.
Add logging.