Added a little bit of the drawing functionality.