add the download method