add code to fetch images from network with issues