uploading and downloading threads working