dev(queue): pseudocode for downloading function