finished the drawing module