Refactored; can check different addresses without having to reload the page