Code organized. Key control of output image.