Adding temporary image and new index