added drawing code with default settings (black, 10pt brush width, 100% opacity)