refactoring multi downloads