Refactoring downloadSynced