got multithreaded downloading to work