graphPaint implemented