displaying the image works