get url working
get url working
code refactored