added creation of images