adding download method.