initial commit for download db method