download and upload methods added