extract download() from Stock class as method