refact paint