adding method to download images