added donwnlink thread