added an image, modified MyFunction