first draft of DownloadTransform