Storing and repainting