Use globals and add logic for fills and strokes
Add inline documentation for arc