new image and cleanup
pretty print
cleanup