added morechecks
added url functions