removing doctrees and adding the image
adding the image