added resume download feature