add func to download pictures