add setUrl for external linking