turn this image into a clean diagram