changed paint to draw