add image, cleanup