add resuming of download