modified to show images