able to output images and code reformatted