adding download method