download method changed