first draft of uri downloader