added url function