right repainting