Removed unneeded lines to display the images