add doc for paint