added url functions