changing var names
var rename
creating helper method for check_links and having check_links return results