I implemented downloading in the background