checked for existence of url