made image data storage better