refactored a field of SingleDownload to a method parameter for consistency